home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / mmailp.idb / usr / lib / Zmail / Mail.zmailrc.z / Mail.zmailrc
Encoding:
Text File  |  1997-01-22  |  1.6 KB  |  70 lines

  1. # .zmailrc to cause Z-Mail to emulate UCB Mail
  2. # -- Bart Schaefer
  3. #
  4. #----------------------------------------------------------------------------
  5. # Shortcomings:
  6. #  Z-Mail does not support the "noisy phone line" flags of Mail
  7. #   (-i command line option or "set ignore" to ignore RUBOUT characters)
  8. #  Z-Mail will never remove a system mailbox (no "unset keep" equivalent)
  9. #  See comments below on (lack of) command prefix recognition
  10. #----------------------------------------------------------------------------
  11. #
  12. # Set up prompting, headers
  13. #
  14. set prompt='& '
  15. set mil_time date_received
  16. set hdr_format='%8.80a %D %M %-2N %5T  %l/%c "%.29s"'
  17. #
  18. # Set up mailing/replying miscellaneous
  19. #
  20. set indent_str = "$(\t)"    # tab
  21. set reply_to_hdr auto_route newline=next
  22. #
  23. # Set up command interface
  24. #  Note that a full emulation is difficult, because Z-Mail does not support
  25. #  command prefix recognition (e.g., Mail interprets "Rep" as "Reply").
  26. #
  27. # Disable history
  28. #
  29. set ignore_bang
  30. #
  31. # This stuff is fine, but really needs prefix recognition.
  32. #
  33. cmd Reply replysender
  34. cmd R replysender
  35. cmd alt alternates
  36. cmd chdir cd
  37. cmd chd cd
  38. cmd ch cd
  39. cmd c copy
  40. cmd file folder
  41. cmd fi folder
  42. cmd hold preserve
  43. cmd ho hold
  44. cmd reply replyall
  45. cmd r replyall
  46. cmd se set
  47. cmd shell sh
  48. cmd so source
  49. cmd un u
  50. cmd undelete u
  51. cmd uns unset
  52. cmd vi v
  53. cmd z+ z
  54. function u() {            # "u" changes current message in Mail
  55.     builtin u $* | msg_list -
  56. }
  57. function unread() {        # "unread" is undocumented in Mail
  58.     flags +U $*
  59. }
  60. function z() {            # "z" changes current message in Mail
  61.     builtin z $* + | from -
  62. }
  63. function z-() {
  64.     z $* -
  65. }
  66. #
  67. # You may want this file sourced.
  68. #
  69. # source /usr/lib/Mail.rc
  70.